Move context initialization to the first request, so that exceptions at boot can be debugged too.