Unittest loginService and changed name