Encode callback url parameter as Base64