I'll appreciate any good soul that can provide me a hint where reside a problem that Node-red password is not working on my laptop running ubuntu, I use the password setting on raspberry pi and it work fine.
on my first try what I did to enable the credential on settings.js like below
$ sudo nano ~/.node-red/settings.js
// property can be used. See http://nodered.org/docs/security.html for details.
adminAuth: {
type: "credentials",
users: [{
username: "admin",
password: "$2a$08$zZWtXTja0fB1pzD4sHCMyOCMYz2Z6dNbM6tl8sJogENOMcxWV9DN.", //password=password
permissions: "*"
}]
},
then restart node-red: sudo systemctl restart node-red
when accessing node red localhost:1770 authentication popup appear, after entering the credentials "admin" & "password"
it just hang there and after a few minutes it read as failed.. if i put wrong password or user name, it quickly read as failed

I also tried to hash new password but that do not change the previous described behavior.
node-red-admin hash-pw
Thanks if anyone may have clue what i am missing.