Issue #1994346 - Fix the logic for SSESS/SESS prefix in the cookie name to match Drupal core behaviour.