Improved test client with ability to log in easily