CAS-1238 Fix variable name typo.
CAS-1238 Provide message in exception thrown on authn failure.