Normalize empty hash case when parsing URLs (between browser and node).