I've followed the steps from the following answer: sharepoint 2013 anonymous 401 UNAUTHORIZED1
However, it works partially for me. The REST calls works when I try to access basic information from any list, but when I call 'FieldsValuesAsHtml' endpoint, the response is 401 Unauthorized.