Save current sessionCreationMethod when onInvalidSession occurs. Use it for a new session...