Add support for LDAP user authentication

Added support for LDAP user authentication.

Fixes #23