updated test client, added basic auth