It fixed itself simply by trying to login later. My guess is that there is some kind of response the server sends that the client crashes upon receiving.