change exception to have a 401 on error
Merge pull request #107 from alberts-tid/task/change_auth_header_exception

change exception to have a 401 on error