Fixes re-auth flow with expired tokens.
Fixes re-auth flow with expired tokens.

The re-authentication of expired tokens assumed that the 401 would
always occur on the first HTTP at tempt. This fix changes that so that
re-auth is still only attempted once, but no longer has to be on the
first attempt.

Change-Id: I93a1187da3637287a803a59c146256d4f543c9d5
Fixes: bug #1131142

JioCloud/python-swiftclient,VyacheslavHashov/python-swiftclient,ironsmile/python-swiftclient,varunarya10/python-swiftclient,zackmdavis/python-swiftclient,ironsmile/python-swiftclient,iostackproject/IO-Bandwidth-Differentiation-Client,sohonetlabs/python-swiftclient,JioCloud/python-swiftclient,jeseem/python-swiftclient,openstack/python-swiftclient,VyacheslavHashov/python-swiftclient,citrix-openstack-build/python-swiftclient,iostackproject/IO-Bandwidth-Differentiation-Client,citrix-openstack/build-python-swiftclient,citrix-openstack/build-python-swiftclient,jeseem/python-swiftclient,sohonetlabs/python-swiftclient,pratikmallya/python-swiftclient,citrix-openstack-build/python-swiftclient,openstack/python-swiftclient,pratikmallya/python-swiftclient,citrix-openstack/build-python-swiftclient,varunarya10/python-swiftclient,krnflake/python-hubicclient,zackmdavis/python-swiftclient