Fix the URI encoding of the token