Refactor login audit

- reuse ldap-query plugin