logout test user

Some strange test failures were seen where the command line client was logged in as a different user than the client running in the test code. Logging out this test user might help prevent those errors.