Fix to make the @allow_lazy_user decorator more compatible with Django REST Framework