Try using this binding with your hikvision camera. The 401 errors may be the browser is not displaying or handling the authorization correctly. This binding does the authorization and then passes the picture on to an image channel which you can use in sitemaps and widgets.