try {
debug.message("Trying to make an AuthContext");
ac = new AuthContext(orgName);
debug.message("Made an AuthContext");
ac.login();
debug.message("Logged in AuthContext");
} catch (LoginException le) {
debug.error( "Failed to create AuthContext", le );
throw new PasswordValidationCallback.PasswordValidationException("Failed to create AuthContext", le);
}