Cook the pasta in well-salted water until just tender. Reserve one cup of pasta water, then drain. Meanwhile, warm olive oil in a wide pan. Add garlic and cook briefly until fragrant. Stir in the beans, broth, cream, Parmesan, Italian seasoning, and red pepper flakes. Simmer for a few minutes until the sauce begins to thicken.