Hi,
According to the your description, my understanding is that the workflow occurs the HTTP 401 error in your environment.
This error message "HTTP 401" is related to the user permission. For a better troubleshooting, I suggest you can do as the followings:
1. Be sure User profile synchronization is started.
2. The user by whom you are logged is available in User Profile list.
3. Final step full synchronization of User Profile Application.
Here are some more detailed articles for your reference:
SharePoint 2013 Workflows - Suspended state HTTP 401 Error
SharePoint 2013 Workflow gets canceled automatically
Thanks
Best Regards