Adding better exception and message when authentication fails.
Renaming utility to match other scripts