pass the extra params to the rack test environment so that routes with block constraints have access
Merge pull request #9368 from CrowdFlower/3-2-stable

PR #5219 backported to 3-2