I tested this on a 1820 switch and i was able to change the password and login with the same as well.
Did you go to Maintenance>>Password Manger>>Change the password and click on Apply there.
If yes then can you let me know what is the firmware version of the switch you are running,
Thank you,
I am a HPE employee
-------------------------------------------------------------------------
Was the post useful? Click on Kudos Thumb below.