class Rack::Session::Abstract::PersistedSecure::SecureSessionHash

def [](key)

def [](key)
  if key == "session_id"
    load_for_read!
    case id
    when SessionId
      id.public_id
    else
      id
    end
  else
    super
  end
end