Rinse and sort beans; soak according to package directions.
Drain and rinse beans, discarding liquid. Place in a pot over medium heat, then add beans and water. Bring to a boil, then reduce to simmer until beans are tender, for about 1 1/2 hours.
Once most of the water is evaporated, reduce the flame to low heat.
Add vegetable broth, onion, garlic, cane sugar, ketchup, and salt to the beans.
Simmer on low heat for another 15 minutes, or until all the beans are soft.
Taste and adjust ingredients as required, using more salt for overall taste, cane sugar for sweetness, or molasses for increasing the flavor. Cover the pot with a lid and let cool slightly.