Fixed login issues. Set device ids to use strings.