Fix hasSessionStore deprecation