Step1: Log into your cPanel
Step2: Go to Password Protect Directories under Security.
Step3: Choose a directory Click Web Root and Go.
Step4: Click on the Root directory to edit your wp-login.php usernames and passwords.
Step5: Click modify in the Security Settings box or break the wp-login.php protection.
Step 6: To change a user’s password remove from Authorized Users and then add in Create User.