Adds checking for the phrase 'not authorized' to the unauthorized check, part two of #174