I have set up tomcat 8 according to this, and I have the following tomcat-users.xml file:
Close all the session, once closed, ensure open the URL in incognito mode login again and it should start working