Also maybe give it a shot at trying to run the game in either "Direct" or "OpenGL" you can find these in the video settings of your options, just hit options when on the main screen before you login, you may have to restart.
If that doesn't help, definitely try restarting your router and giving it a minute to boot back up, even see if your login tab may be expiring, try re-logging into it and or logging into it on another browser.
It seems your connection issue has to do with your WiFi however, not entirely sure.. hope this helps some?