Five years ago, Long Beach-based managed care provider Molina Healthcare Inc. was reeling. The company had lost a series of state Medicaid contracts, first in Florida, then New Mexico and Texas, forcing its total Medicaid enrollment to less than 3 million for the first time in nearly a decade.