Add res.unauthorized() mixin
Add test checks for 401 files.
Merge pull request #1037 from ragulka/unauthorized

Add res.unauthorized() mixin