Fix IE 10/11 failures in production

IE 10 and 11 were failing on any deployment running on a standard port due to a bug in URL construction that interacted with IE's stricter URL parser.