Fix RouterTest to allow testing from other places than http://localhost in the browser