Switch to Django's RequestFactory from test_utils (bug 1090169)