Added guards to make sure Authenticator.Completed is only invoked once.