This error is typically caused by an attempt to decrypt a value that has not been properly encrypted. Password values stored in the CONFIG table are typically encrypted, so you need to use the correct Admin page to set these values.