fix(http): preserve config object when resolving from cache

Fixes #9004
Closes #9030