```
select distinct interface from system.session_log

Code: 36. DB::Exception: Unexpected value 6 in enum: While executing ParallelFormattingOutputFormat. (BAD_ARGUMENTS) (version 22.3.3.44 (official build))
```

Current interfaces in table definitions:

```
    `interface` Enum8('TCP' = 1, 'HTTP' = 2, 'gRPC' = 3, 'MySQL' = 4, 'PostgreSQL' = 5),
```

There are two more in ClickHouse already:

Interface::LOCAL
Interface::TCP_INTERSERVER

cc: @Enmk 
{
    const auto access = login_context.getAccess();
    const auto & settings = login_context.getSettingsRef();
    const auto & client_info = login_context.getClientInfo();
    DB::SessionLogElement log_entry(auth_id, SESSION_LOGIN_SUCCESS);
    log_entry.client_info = client_info;
    {
        const auto user = access->getUser();
        log_entry.user = user->getName();
        log_entry.user_identified_with = user->auth_data.getType();
        log_entry.external_auth_server = user->auth_data.getLDAPServerName();
    }
    if (session_id)
        log_entry.session_id = *session_id;
    if (const auto roles_info = access->getRolesInfo())
        log_entry.roles = roles_info->getCurrentRolesNames();
    if (const auto profile_info = access->getDefaultProfileInfo())
    log_entry.profiles = profile_info->getProfileNames();
    for (const auto & s : settings.allChanged())
        log_entry.settings.emplace_back(s.getName(), s.getValueString());
    add(log_entry);
}
void SessionLog::addLoginFailure(