(refs #3156, BP from #3073) fixed not to occur redirect loop when access to login page