Graceful authorization failures

Fixes #97