Note to self for when I get home -- because using `global $request` in append_sid() is giving me the wrong request object, at least in tests, I should try `global $symfony_request` in append_sid() instead of creating it again on line 2424.