Could you please try connecting using psql with the same credentials? If you encounter the same error, you will need to reset the database server password.
I have been trying to access the pgAdmin4 server but every time I try to input the password I receive the error below. I have uninstalled the software and reinstalled with a different password and this error still came up again. Any guidance or help with this issue would be much appreciated. Im on MacOS.