The simplest solution is reset security.
Tomcat by default stores the user database in an XML file called $TOMCAT_HOME/conf/tomcat-users.xml. You can add the following lines to this file to create an admin user.
<role rolename="admin"/>
<user username="jenkins-admin" password="secret" roles="admin"/>