Enhance ApiToken admin to auto-generate tokens on save

Fix #156