return appropriate errors on unauthorized client
Merge pull request #1 from mrkhingston/unauthorized-client

return appropriate errors on unauthorized client