cookie_test.py: Fixes imports, FakeResponse for Py 2.