In medium saucepan saute the onions and garlic in olive oil for about five minutes or until the onions begin to soften. Add ginger, thyme, and allspice, stirring often to prevent sticking, until the onions are very soft (about five minutes more).
Stir in the beans and orange juice; cook on low heat for about 15 minutes, stirring occasionally until the mixture thickens slightly. Use a heat diffuser if necessary to prevent scorching.
Mash a few of the beans with the back of the spoon for thicker consistency.
Whisk flour, eggs, 1 tsp salt, and water together until batter slides slowly from spoon. Let sit an hour or so and mix again. (Spätzle maker should be in freezer while batter rests.)
Fill a large pot with water and bring to a boil; add about 1 tsp salt and some oil. Let spätzle boil for a few minutes and taste for doneness.
Layer spätzle, mozzarella cheese, and browned onions in a casserole dish and repeat until full.
Trim and quarter Brussels sprouts and toss with olive oil. Saute shallots and bacon in olive oil and add Brussels sprouts. Roast in oven at 350 degrees until carmelized and tender.
Add cooking sherry and brown sugar; stir and cook until sherry is almost gone (approximately 10 minutes).