check AuthError
Merge pull request #11 from mnlg/check-auth-err

Check AuthError