You can add another user as admin, login with him and then reset passwords of other admins. Stop the Openfire, edit /openfire/conf/openfire.xml
Uncomment the <authorizedJIDs> or <authorizedusers> tag and add JIDS (user@servername) or users in there. Save it. Start Openfire and then try to login with added user.