This question has had me thinking all afternoon, as it could easily come up while traveling. I was thinking that there must be a way to do this without the forethought to install 'Lynx' ahead of time. After a bit of searching, I found the following at:
https://superuser.com/questions/132392/using-command-line-to-connect-to-a-wireless-network-with-an-http-login
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.