WIP: AccountManager: Refactor authentication and account management code

WIP because based on !851 (merged) and still has one bug

Closes #1341 (closed)

Merge request reports

Loading