account for lost session in getContexts