Fixes NPE in removeStoredAccount().