Adding authentication, including ldap