Using Cookie class in Session::destroy()

It allows us to suppress "headers sent" errors, which is particularly
important in phpunit test runs.