Added the test login method to the client