Heat the oven to 350°F and lightly butter a 2-quart baking dish.
In a large bowl, mix together the cream of mushroom soup, milk, soy sauce, black pepper, and half of the fried onions until smooth. Fold in the drained green beans and any optional mushrooms or sautéed onions until evenly coated.
Transfer the mixture to the prepared baking dish. Cover with aluminum foil and bake for 25 minutes, until bubbling at the edges and steaming in the center.
Uncover the dish and scatter the remaining fried onions evenly over the top. Dust with paprika if desired. Bake uncovered for 8 to 10 minutes, until the onions are deep golden and crisp.
Remove from oven and let stand for 5 minutes to allow the sauce to thicken slightly before serving.