User passwords is reset automatically

I created 3 users for testing a workflow. when I make any changes like adding a role or permission to them and when I try to relogin the password is changed automatically and I need to reset it.

Currently because of that I have hit the maximum attempts and now all my work is stuck.