Handle the case where "name" exists twice in the result string, like when connecting to a server with another user logged in.