Fix server crash

When a client connects, but does not log in, the server will crash
when the client tries to disconnect and the server tries to save the player
data. This patch just adds a check to only save when the client has an
associated player object.