Better error message for bad authentication. Closes #103