Same thing happened to me last night. Was doing a skirmish game, and during the "connecting to players phase" the game completely locked up. I had to do a ctrl-alt-del to kill the program. After re-launching Demigod, I got invalid username and/or password error for the remainder of the evening.
I'm at work now, so I'm unsure whether this has been fixed for me yet.