Fix #10491: Allow passing lazy objects to HttpResponseRedirect.