Added fix to allow ldaps as part of LDAP URL - EUCA-5849

This fix takes care of the error "Invalid server url" if ldaps:// is used as part of the server-url.