fix Session class assertions not prepared for class overrides, which could break some plugins which override the Session class on load (such as datadog or webmock adapters).
datadog
webmock