Implement persistent usernames.

A setCookie method is used to store player information. Right now, this
is only the username, but in the future we may want to store the current
role of the player, etc.