Maintain redirect options in session. Fix #221

To reflect redirect_to options, keep those params in session to be set 'X-XHR-Referer' after redirected response.