Preheat the oven to 375°F (190°C). In a large bowl, whisk the tofu, and gradually add milk mixing thoroughly. Alternatively, you can process them in a food processor for a few seconds. Add the remaining ingredients for the sauce and mix well. Set aside.
Slice the onion thinly. Cut the bacon into bite-sized pieces. Slice the potatoes into 1/8" (3 mm) thin rounds. Microwave for a few minutes until soft.
Heat the oil in a frying pan and cook the bacon until lightly browned. Add sliced onion and cook for a couple of minutes. Combine the potato slices with the bacon mixture and season with salt and pepper to taste.
Put the potato mixture in a baking dish. Cover it with the creamy tofu sauce and top it with shredded cheese. Bake for 20 minutes until hot and browned.