Fixed login routing problem.