Adds checking for the phrase 'not authorized' to the unauthorized check,...

... part two of #174 and #171

---

I'm getting the unauthorized errors again sporadically. Looking at the error message, it also says "not authorized for query" separately from saying "failed with error "unauthorized""

As such, check for both.