Handle 401 Unauthorized responses
Merge pull request #3 from l7s/master

Handle 401 Unauthorized responses