Add a test for client login when the user exists in the database