Password on Web Interface does not work on command line

I have set a password which works on the web interface to AMG1302-T10B but does not work on the command line. How do I make it work on both?

Consumer Product Help Center