Bugfix: idp: Check if CA certificate if present

Upon first start with the default configuration the idm service creates
a server certificate, that might not be finished before the idp service
is starting. Add a check to idp similar to what the user, group, and
auth-providers implement.

https://github.com/owncloud/ocis/issues/3623
