Custom failure class for optional redirecting to logout url upon timeout