Fixed url generation when historyApi not enabled.
Disabled historyApi in routes tests.