Remove duplication of GitHub redirect middleware and recorder in tests
Created by: mrnugget
(Stacked on https://github.com/sourcegraph/sourcegraph/pull/11340/files)
I think we should use httptestutil
more and put little helpers like these in there.
The GitHubProxyRedirectMiddleware I put in httpcli
next to the other middlewares.