Corrected login page to correctly pass parameters to controller.