src/s_user: Make UID assignment happen once we know it's a valid user