Make sure 'origin' URL is in canonical form