Fix a test failure
It is not repeatable to modify the request headers in place
One integration test failed with "An item with the same key has already been added" due to this