In a large pot, add the onions, garlic, bay leaves, thyme, cayenne pepper and chicken, breast-side down. Add the broth and enough water to cover. Season with salt and pepper and bring to a boil over high heat. Reduce to low and simmer, partially covered, until chicken is cooked through and tender, about 30 minutes.