Fix failed LDAP auth and test