Issue #1346772 by xjm, scor: Fixed StatisticsLoggingTestCase->testLogging() fails with clean URLs in some environments.