add NEVER_EXPIRES and INDEX_UNTIL constants
use onFailure over depreciated onAuthFailure