Implement LDAP login. Closes #6