fix infinite loop when no authentication should be performed even after
401
Merge pull request #5 from backbone87/master

fix infinite loop when no authentication should be performed even after 401