Implement renaming of inactive user.

Once user is deleted his username can't be reused.
After renaming that won't be a problem anymore.