Note: This fixes a bug where the URL would not be normalized if the tokens were already present. We could remove this if we make it clear in the docs that URLs already containing tokens will not be normalized, but I think it's harmless to re-normalize to keep this function predictable.