The governing bodies of such cities of the second class are hereby authorized and empowered to accept and secure any benefits of federal aid in the construction of any such hospital.