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

Closes #9004