A crucial financing deal for a pioneering East Bank project got the green-light — but it wasn’t smooth sailing.