Put the potatoes, onions, garlic cloves, two tablespoons of the oil, salt and pepper into a 30cm-wide shallow casserole or ovenproof sauté pan. Toss everything around with your hands. Put the chicken on top, skin side up. Brush the remaining oil on the chicken and season.