401 "Permission Denied" handling.

Addresses #194