Added logging of the web response when querying the management api