Is this a fix to `replaceAuthorizationHeader` that's unrelated to the feature addition (i.e. should be made anyway) or is this part of the new functionality?