Add special handling of a redirect to the login page. I started consistently getting the problem of being redirected to the test.salesforce.com, and adding this block of code seemed to break the cycle of redirecting back to the same page.
Add special handling of a redirect to the login page.
I started consistently getting the problem of being redirected to the
test.salesforce.com, and adding this block of code seemed to break
the cycle of redirecting back to the same page.

SalesforceFoundation/CumulusCI,SalesforceFoundation/CumulusCI