Patch to give us a werkzeug request object on production