Update authentication example to include error reason

Having just spend 10/20 mins trying to figure out what the error meant after copying this example I think it should include the error message by default.
Merge pull request #59 from Pezmc/patch-1

Update authentication example to include error reason