Added a config option to only allow ldap logins