Also raises $40 million for cost management software that lets clients like Walmart offer payday improvements