Fix system property environment dict in setup_handler.

Probably should be an integration test that fails when this is incorrectly set.