Fix persistence of req.params from app.params

fixes #2170