Fix problem with running dev server under flask 2.3
It seems that failures in actually running the server are not caught in the pipeline, and that my conda env did not exactly match the one now in master.
To fix flask 2.3 compatibility, we need to switch from @app.before_first_request
to with app.app_context()
.