Added workaround in order to fix Ardent's hasSessionStore error.