Fix Issue #4897(Ldap Authentication Not working properly)
-- Setting groupSearchBase to null instead of empty string so that spring doesn't try to get the roles for the authenticated user while logging in
-- Setting userDnPatterns to normal mode and db mode in the spring security file.