Add integration tests for basic authorization
Unescape credentials on URI before adding basic auth header (ty @Tasteful)