Fix logout after disable or delete the account and clear the switching account state on error
Summary
Checking the minds/qa/qa#75 (closed) I was able to reproduce the issue only by disconnecting the device from the internet
This MR:
- Clear the SessionService's switching account state on error
- Fix the logout after disabling or deleting the account (Bug that I found checking this one)
Steps to test
- Deactivate or delete the account, it should log out correctly the current user
Estimated Regression Scope
There should be none
Edited by Martin Santangelo