added 401 exceptions
Merge pull request #38 from keymholio/api-test

added 401 exceptions