TP-Link TL-R470T+ Automated Login Script

The TP-Link TL-R470T+ Load Balance Broadband Router is the only load balancing router under $150. The only major flaw I've encountered is it's "Online Detection" service. Here is a shell script to automate logging in to the admin web interface.