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