Soak the beans overnight in water in a large bowl.
Preheat the oven to 375 degrees F.
Saute the onions and pork over medium heat in a cast iron Dutch oven until the onions are tender, abut 10 minutes. Add the drained beans, pork, chicken stock, cayenne, molasses, ketchup, brown sugar, and salt and pepper to taste and bring to a boil.
Cover the casserole and transfer to the oven. Bake to 3 1/2 to 4 hours, until the beans are tender.
Serve topped with a sprinkle of brown sugar.
Recipe courtesy of Francine Segan, Movie Menus: Recipes for Perfect Meals with Your Favorite Films, Villard Books, 2004