Changing user password fails

When user attempts to change password the process fails with following error:

Username already exists in the system, please fill in a different one.

The password for existing user shouldn’t complain about being existing user.