Fix a wrong WebDAV Warning with self-signed-certs

Occuring in the admin interface
Merge pull request #8181 from owncloud/fix_wrong_webdav_warning

Fix a wrong WebDAV Warning with self-signed-certs