An attacker who chooses an identifier before login must not be able to keep using that identifier after the victim signs in. Rotate the identifier when authentication or privilege changes. The earlier authenticated grant must become unusable, even if the caller retains the old cookie.
The seed provides a fresh identifier from a fictional session issuer. That fixture represents a secure library generating an opaque random value. It's not a recipe for generating session identifiers. Your handler must use the new value, invalidate the old grant and return a cookie with the required protections. The lab checks those response and store decisions. It doesn't model concurrent logins, cookie parsing or a real password challenge. A production session framework should perform the change atomically and apply its domain, path, transport and SameSite policy.
Replace the pre-login identifier and invalidate its earlier grant.