Issue #19 - Duplicate master password prompt in 0.4.0rc1.  Also cleaned up first login code, moved the version update to Sync.begin after the auth check.