Preheat the oven to 400 degrees and spray the inside of a 9-inch springform pan with cooking spray. If you don't have a springform pan, line a regular 9-inch cake pan or sheet pan with foil and spray.
Heat a few tablespoons of oil in a large skillet over medium-high heat. Fry the tortillas, one at a time, until crisped and browned on both sides. Drain on paper towels and set aside to cool.
Drain all but a teaspoon or so of oil from the pan, add the beef and break it up with a wooden spoon until browned, about 8 minutes. Transfer to a bowl and set aside. Heat the remaining 1 tablespoon oil in the pan and add the onion, garlic, jalapeño, and cook, while stirring, until softened, about 5 minutes. Add the cumin, chili powder, salt and pepper and cook until fragrant, about one minute more. Stir in the tomatoes and tomato paste, then add the beans and reserved ground beef. Simmer for about 5 minutes, or until much of the liquid has evaporated. Add the corn and spinach and toss around until the spinach wilts and the corn is heated through. Taste and adjust the seasoning as needed.
To assemble, place one tortilla in the prepared cake pan and spread about ⅙th (just eyeball it) of the filling evenly over top. Sprinkle with about ⅙th of the cheese, top with another tortilla. Repeat with the additional filling, cheese and tortillas, finishing with a layer of filling and a sprinkling of cheese on top.
Bake, uncovered, for about 20 minutes, or until lightly browned on top and heated through. Allow to rest for at least 5 minutes before removing it from the pan. Sprinkle with cilantro, scallions or both, or none. It's optional.
Use a sharp knife to cut the cake into wedges and use a spatula or pie server to carefully remove them to plates. Serve hot with sour cream and/or salsa and/or guacamole on the side, if you wish.