They don’t need to tie the searches to an account. They log them anonymously. From their privacy policy:
Absent from our logs are any identifying information about your client. As such, any query or traffic logging that we do cannot be tied back to your account, ensuring that Kagi developers are the only people that the logs will ever be useful to.