A v2 or v3 auth request posts the user's password, or the application credential secret, to the auth server in a JSON body which net/http can rewind. On a 307 or 308 redirect to another host it resent that body, password included, to the new host. The transport now refuses to follow a redirect which leaves the host and port of the original request if it would resend the request body.