Fixed a test that was failing when running against a server with auth enabled