if account manager doesnt work, the password might be sha1, and config.lua "plain", or the contrary
if config.lua is sha1, and all passwords in database plain ( you can see them ), then you need to update passwords to sha1 encryption with sha1(password)
Remember, the same encryption is needed...