fixes #5414: LDAP + TLS is not LDAP + TLS but LDAP + SSL and changed port automatically on check