As we have already created an HTTP server in our previous recipe, we will just extend it to incorporate basic authentication.