Restart the game (close it completely, reopen), try restarting your computer. I usually have to just wait a little bit before I can login again.