Add more precise auth failure messages

In addition to old errors, also check for the workspace being set.

Closes #343.
Closes #301.