I'm inclined to trust in the intentions and competence of the people at Duolingo because I've worked with them before, so with that disclaimer:
Is it possible that this person accidentally mixed up the username and password fields when editing their own account? Or, some type of browser auto-fill mixup put the password in the username field when editing the account?