raise AuthenticationRequiredError on Net::HTTPForbidden

Backport of https://github.com/bundler/bundler/pull/3260 to `1-7-stable` branch