Do not query LDAP if authenticated via proxy