doc: add basic authentication docs.