a742c0c3f2
This ensures that token response is only extracted when ClientResponse has a successful status Fixes: gh-6089