DOCS-3491: edits to concurency about locking in authentication