DOCS-2911: add two authentication options.