Do not reuse connection instance between requests with basic authentication parameters in URL.

I think this should be the simplest solution for #343, considering this issue is more of an edge case than architectural problem. I wrote unit tests and added missing integration tests for described scenario.