Preheat oven to 300°.
Combine first 5 ingredients in a Dutch oven; bring to a boil. Reduce heat, and simmer 15 minutes. Drain over a large bowl; reserve cooking liquid. Discard onion and bay leaves.
Cook bacon in a large nonstick skillet over medium heat until crisp. Remove bacon from pan, reserving 1 tablespoon drippings in pan; set bacon aside. Add chopped onion to drippings in pan; cook 10 minutes or until golden brown and caramelized, stirring frequently. Add garlic and chili powder to pan; cook 1 minute, stirring frequently. Add ketchup and next 5 ingredients (through ale) and 1/2 cup reserved bean liquid to pan; bring to a boil. Add beans and bacon. Reduce heat, and simmer for 10 minutes or until slightly thick. Transfer to a 13 x 9-inch baking dish coated with cooking spray. Bake at 300° for 45 minutes or until thick.