Ensure special characters are encoded for oauth.