Add session configuration checker and session in twig checker.