Avoid too many request after auth fail
Description
This change will avoid 429 due to too many requests
Screenshots
Technical details
The account manager was attempting to sync even when authentication failed (e.g., if the user changed their password). This resulted in our server blocking the user and returning a 429 error.
Tests
Issues
https://gitlab.e.foundation/e/backlog/-/issues/7922
10 commandments of code reviews
Edited by Mohammed Althaf Thayyil