Add missing 'import logging'

request.py was missing the logging import, which caused crashes in an
edge case when copying cookies from post-review.