A developer has secured a key tax credit award for its plan to convert a historic office building in Atlantic City into 56 loft-style apartments and commercial space.