Cook onions in oil until tender. Add the rest of the ingredients, except for the tortillas and cheese. Layer the sauce, tortillas, and cheese, ending with the cheese. Cover with foil and bake in a preheated 350-degree oven for one hour or until cooked completely. Serve with sour cream and salsa.