doc: add authentication docs.