Use passwords instead of tokens
Tokens get invalidated from time to time. It is therefore better to use passwords and let listunserv log itself in. The exact parameters to send to the login form where obtained by studying the request the login page sends. The grep | cut | cut commands extracts the login token from the response after the login. The token is found in the URL of a <meta> refresh tag.