catch invalid password exceptions in sign_raw_transaction too