Method AuthenticateAsync(string, string, CancellationToken)
Validates username/password and returns the user on success.
Tries external providers in priority order, then falls back to local.
public Task<LoginResult> AuthenticateAsync(string username, string password, CancellationToken ct = default)