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.
Merge pull request #5 from imbrianj/master

e.getStatusCode() was throwing an error