Fix monitoring.js issues related with host change after initialization
+Auth support in client library and Monitoring page
Fix some client.js issues