Albany legislators failed to disclose that an expert who advised them on laws enriching state employee retirement plans was bankrolled by the unions that benefited.