Cleanup pending transaction during login.