Use something like this to update your tomcat users.
<role rolename="manager-gui"/>
<user username="admin" password="admin" roles="manager-gui"/>
Tomcat users file is located inside conf
folder of tomcat installation.
To find the path of catalina_base you can use the command:
ps aux | grep catalina
You can find one of the values -Dcatalina.base=/usr/local/Cellar/tomcat/9.0.37/libexec
Don't forget to remove the comment lines from the tomcat-users.xml just before the start of the roles. <!-- -->