https://clickhouse-test-reports.s3.yandex.net/18817/9049599e367bcccd809f45af138452f965b3303a/stress_test_(undefined)/test_run.txt.out.log
{
    auto lock = getLock();
    client_info.current_user = name;
    client_info.current_address = address;
#if defined(ARCADIA_BUILD)
    
    client_info.current_password = password.value_or("");
#endif
    
    UUID new_user_id;
    if (password)
        new_user_id = getAccessControlManager().login(name, *password, address.host());
    else
    {
        
        
        new_user_id = getAccessControlManager().getIDOfLoggedUser(name);
    }
    auto new_access = getAccessControlManager().getContextAccess(
        new_user_id,  {},  true,
        settings, current_database, client_info);
    user_id = new_user_id;
    access = std::move(new_access);
    current_roles.clear();
    use_default_roles = true;
    setSettings(*access->getDefaultSettings());
}
void Context::setUser(const String & name, const String & password, const Poco::Net::SocketAddress & address)