Raise a different error when authorization is not performed

closes #108