changed DEFAULT_ERROR_KEY_ATTRIBUTE_NAME constant to be 'kiLoginFailure' for simplicity and to ease backwards compatibility.