Preserve flash & query string so modal appears

During https to https redirect, these were being stripped out.

Closes opengovernment/product#46