Upon HTTP 302 redirect do not include "Authorization" header on 'untrusted' registries.
Upon HTTP 302 redirect do not include "Authorization" header on 'untrusted' registries.

Refactoring in Docker 1.7 changed the behavior to add this header where as Docker <= 1.6 wouldn't emit this Header on a HTTP 302 redirect.

This closes #13649

Signed-off-by: Jeffrey van Gogh <7432770fe72a9e0d7cbe44eb96b1a9a450e4d48d@google.com>
(cherry picked from commit 65c5105fcca76c34335f689336a663c78786fd9c)

AdamOssenford/docker-pi,AdamOssenford/docker-pi,AdamOssenford/docker-pi