Don't forget basic_auth in non persistent mode

When there's no OpenSSL, `USE_PERSISTENT` becomes false. This causes
password protected gem servers to not work, because we're only using
host, port and path for the request (but not the full url with user
and password, as with `USE_PERSISTENT`:

```ruby
if USE_PERSISTENT
  response = @connection.request(uri)      # Contains user/password
else
  req = Net::HTTP::Get.new uri.request_uri # Contains only path
  response = @connection.request(req)
end
```
double-check