Remove old account in prefrences

Fixes #242 by removing the old account details in the preferences.