Adding Support for 401

This fix patches an issue where uptime would display a site with header
401 as offline.