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