Ldap integration for signin

First pass at #44.