Allow the pipeline to change the redirect url.
Moves the popping of the redirect value from the session to after the
pipe line executes.
Merge pull request #449 from tim-schilling/allow-pipeline-redirects

Allow the pipeline to change the redirect url.