Test if changing to LoginR solves login problem.