SIGN IN SIGN UP

fix: Cache sync event details to track Cmd+C. (#18409)

In order to fix the issue described here: https://github.com/cloudquery/cloudquery-issues/issues/1911#issuecomment-2191820570

I'm caching the event details in a global variable except on `LoginSuccess` as suggested by @erezrokah.

Testing:

Successful sync
![Screenshot 2024-06-26 at 16 08 18](https://github.com/cloudquery/cloudquery/assets/1078546/e7c76d7a-38ea-4fc9-8e62-ce91edebbbc8)

Cmd+C during sync
![Screenshot 2024-06-26 at 16 08 55](https://github.com/cloudquery/cloudquery/assets/1078546/1cc57dbc-071d-4cbc-ad93-99989c5fdb75)
M
Mariano Gappa committed
a4e1a0335bbd2e784a5eae39604dfd0cdbc99487
Parent: 0c76682
Committed by GitHub <noreply@github.com> on 6/26/2024, 3:30:21 PM