Minor refactoring of LdapAuthDao