Usually, Rails sends a Set-Cookie header in the response. To disable that:

after_action -> { request.session_options[:skip] = true }