e.getStatusCode() was throwing an error

Expired certs were never getting to login() as it was throwing an error.  I think it's due to sandbox restrictions.