tests for login service