Welcome to the HP Support Community. I'd be happy to assist you with the password issue.
Please try these steps to restore the network settings to defaults - Press the Wireless button and the Cancel button from the printer control panel at the same time, and then hold them for three seconds.
If the issue still persists, I have sent you a private message with the reset steps, specific to your printer. Check next to your profile Name, you should see a little blue envelope, please click on it.
Hope this helps! Keep me posted.
Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
Click the “Kudos, Thumbs Up" on the bottom right to say “Thanks” for helping!