Add support for sessions that use the Rack::Session::Cookie middleware directly instead of the sessions flag.