fix: preserve sync settings on re-auth with improved code readability
Description
The sync settings should be preserved on all the following path:
Murena accounts:
- Basic auth -> OAuth (SSO migration)
- OAuth -> Re-auth
- Default OAuth login
Google and Yahoo accounts: OAuth -> Re-auth
During initial login for all the accounts, all the sync settings will be turned on with their default values.
Screenshots
Technical details
Tests
Issues
https://gitlab.e.foundation/e/os/backlog/-/issues/3535
10 commandments of code review
Edited by Fahim M. Choudhury