Fixes #1685: UrlManager::showScriptName should be set true for tests.