Make the test client quit when it has authenticated.