Fixed bug where Login only worked until the app was fully closed.  Made
changes to App, AppPreferences, and SimpleCrypto to accomodate.