Remove unused ldap client, fix logout