Each time I restart Openfire I cannot log in via the admin console.
Searching turned up this work around. Add this to openfire.xml, then restart again.
To be save, I set several usersnames to be admin. Each restart, I need to try each until one works. Showing uses finds the accounts, but those that no longer can log in to the console are (no surprise) no longer set as admin.
I have not seen this issue until I upgraded to OF 4.0.
I see this on Ubuntu 14.04 and Fedora 22