More unit tests for LoginController