Prabably this login system uses sessions. If the login form use GET instead of POST you can try to build a link to log into the restricted area, from lynx (links or w3m). You need to look the form structure in order to know if there is any kind of hidden input that can block your login script.
If the form is simple, then, you can build a link with your username and password, something like this:
lynx <a href="http://server/login.script?user=yourUser&pass=yourPass">http://server/login.script?user=yourUser&pass=yourPass</a>
Obviously, if that works, you can't close lynx otherwise you will lost your session. Bye :)