Fix EZP-23505: Router generates wrong URL without vhost
Merge pull request #1048 from blankse/EZP-23505_wrong_router_url

Fix EZP-23505: Router generates wrong URL without vhost