Shopify/shopify_api — pull request #150 by dsabanin (2014-10-03 16:35:26+00:00)
Title: Fix for token auth calls triggered after login/password calls

Properly reset all the state that affects new requests.

In a scenario when one Ruby (Rails) instance would first attempt to connect to a store using a login/password and then would try to connect to a different store through OAuth token, second connection would always fail because of the old Authorization header.

Proposed patch fixes the issue.