Mock LDAP access to allow testing without LDAP server