Minor fixes to url flow/routing.