Only clear the inventory on logout.

If the server crashes, it will not wipe the inventory. It can be
a little confusing for the players and there is a possible dupe, but
I will keep it like this for now.

This also helps with bug #7