Bug fixes

Fixed issue with LDAP/AD Auth using tomcat