#31743 (for master branch) Improve wording of failed authentication atte...

fixed broken stuff from earlier pull request. Tested.