Auths: fix possible OOB write in external authenticator. Bug 2999