Pass in an `AnonymousUser` object here too instead of patching the method.