I looked into your issue with logging in with elinks. I tested links, elinks, and lynx. links and lynx are both able to log in just fine, but I couldn't get elinks to log in.
Looks like elinks isn't storing the cookie when posting the login request. I also tried setting the cookie manually and that didn't work either. I'm not sure what else to try. If you have any ideas, let me know.