add the ability to use an on_auth_failure block when a 401 is detected
Merge pull request #4 from fearoffish/master

handle 401's specifically if you want