Merge pull request #4 from otang/master

Update authorized() callback to return on fail conditions.