Made auth work for hubs

- Made auth work for hubs when there's a challenge that happens after a
failed request.
- Added connectionData (the list of hubs) to all urls including
negotiate send and abort.

#2493
Added test to verify that basic auth works with the .NET client and IIS