Add retry to auth.