Encode href params before substituting them into the url

@greysteil This fixes https://exceptions.gocardless.com/production/gocardless-live/group/5303/