How to reproduce:
- log in as an existing user
- change username
- click on Finish
- (let admin approve the change if workflow definition requires it)
- attempt to login with the new username
- login fails
This happens because the JWT created at step 1 under the old username is still there after step 3.