Adds checking for the word 'unauthorized' to the unauthorized check. #171
Refactor error message check in reply