Respond with a 401 if the user is unauthorized AND unauthenticated

- Similar to 04fb595 in 2.0.0

#2493
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