fixup crash_data service in the middleware
add environment vars to make test