I have the same problem with chrome.
It locked itself and refuse the main password.
Clearing the passwords to remove it , it did not worked. And yes, I am ABSOLUTELY sure it was the right password.
I had to cut internet, uninstalled avast, clean the installation, reinstall everything!
JPD