Ok, I could reproduce it in the Demo Server project: just add an OnUserCreated event and use this code:
procedure TForm7.SphinxConfig1UserCreated(Sender: TObject; Args: TUserCreatedArgs);
var
User: TUser;
Context: ISphinxContext;
Key : string;
begin
Context := SphinxServer1.CreateContext;
User := Context.UserManager.FindByName(Args.User.UserName);
if Context.UserManager.GetAuthenticatorKey(User) = '' then
Context.UserManager.ResetAuthenticatorKey(User);
Key := Context.UserManager.GetAuthenticatorKey(User);
end;
Then run it and try registering a new user. Interestingly enough, this worked for me sometimes before...