Put the onions in a large bowl and cover with milk. Let soak for 30 minutes. Meanwhile, using a fine-sieve over a large bowl, sift together the flour, baking powder, 2 teaspoons salt, chili powder, and cumin, if using. Stir in the beer until a smooth batter is formed. Set aside. Drain the onions and transfer to a paper towel-lined baking sheet. Blot the onions with paper towels until dry. In the Dutch Oven, pour in the oil to a depth of about 2 inches. Place over medium heat and heat to 400 degrees F. (The oil must be heated to 400 degrees F. since the temperature drops oil to about 375 degrees F. when the onions are added.) Working in batches, transfer about 8 to 10 of the onions to the batter and mix to coat well. Using tongs, pull several of the onions out of the batter, and let any excess batter fall back into the bowl. Carefully add to the oil and fry, flipping once, until golden brown and crispy, about 3 1/2 minutes per batch. Using the tongs, transfer to a dry paper towel-lined baking sheet to drain. Sprinkle with salt to taste.