Fixing first-time-login issues.