tweaks to make ldap auth parse correctly providers