Add ldap auth unit test