401 response handling

### Work In Progress
Changes to properly handle unauthorized requests when using a connection pool.