This is a recipe I have used with great success - not too sweet, but with a noticeable kick and great flavor depth. Note that while there is some molasses in this, it's not a lot AND it's an important part of the flavor profile. This is a do ahead recipe and will be better the next day.
Spicy Red-Eye Cowboy Baked Beans
Note that I've reduced the molasses just a little for a more savory (less sweet flavor). Remember not to salt your beans until after they've finished cooking (makes em tough)
1 lb. dried pinto beans
3 Tbs. unsalted butter
1 medium onion, chopped
2 large cloves garlic, chopped
1 Tbs. ancho chile powder
1 tsp. chipotle chile powder
1 tsp. ground cumin
1/4 tsp. ground allspice
Freshly ground black pepper
6 cups lower-salt beef broth
1 meaty smoked ham hock
1 cup brewed coffee
1/4 cup molasses
1/3 cup ketchup
1 Tbs. Worcestershire sauce
2 sprigs fresh oregano
1 Tbs. bourbon (optional)
salt - to taste after cooking has ended.