Added support for 401 in http pollers and monitor