fix crash on 401 if _auth is None
Merge pull request #145 from preo/401_fix

fix crash on 401 if _auth is None