Fixed crash when signing in new users for the first time.