(refs #3073) fixed not to occur redirect loop when access to login page