Base64 encode the url params so that they make it through alright.