Added password checking. The server kind of works with the flash game again except that it times out on a read after the player is logged in and playing.