Managing a profitable mortgage business can be challenging in the best of markets. When rising interest rates and plummeting affordability decimate loan applications, it’s even more difficult.