[api] User LDAP connection opening now uses ApplicationSetting options