Removed the need to have the LDAP module installed in order to run katana

- Fixed a bug when using Basic Auth