fix testconnection in ldap resolver with TLS 1.3
fix testconnection in ldap resolver with TLS 1.3

privacyidea/privacyidea,privacyidea/privacyidea,privacyidea/privacyidea,privacyidea/privacyidea,privacyidea/privacyidea,privacyidea/privacyidea