Head of agency that mismanaged money for HIV/AIDS community resigns