DOCS-2671: edits to avoid the localhost auth bypass