fixed deprecated auth warning