Added the ability to disable LDAP for testing.
Fixed a bug that caused a fault.
Fixed login error messages.