Fix login

Re-login wouldn't work because the Account.cache was set to ``null`` instead of ``{}``