SIGN IN SIGN UP

Fixes a regression in forwarding from #6115 (#6191)

* Fixes a regression in forwarding from #6115

Although removing the authentication header is good defense in depth,
for forwarding mechanisms that use the raw request, we never add it
back. This caused perf standby tests to throw errors. Instead, once
we're past the point at which we would do any raw forwarding, but before
routing the request, remove the header.

To speed this up, a flag is set in the logical.Request to indicate where
the token is sourced from. That way we don't iterate through maps
unnecessarily.
J
Jeff Mitchell committed
afa1af0131021bc4d9943de6c8a0f4cfe22fb2fa
Parent: 964460a
Committed by GitHub <noreply@github.com> on 2/11/2019, 6:08:15 PM