Add loginService test.