Create test cases for all controllers #28
Added test for LoginController, this test not extending BaseControllerTest because it has different sets of methods.
Modified LoginController to fulfil coding standards.