Add basic authentication for the nic controller.