Support shell user name and id from the env

Also changes the type of the user.id property, this should be an integer to match campfire.