fixes #5414: LDAP + TLS is not LDAP + TLS but LDAP + SSL