Added LDAP support.
install: fixed testing setting.
Merge pull request #122 from mpastor/ldap

Added LDAP support (closes #8).