Fix password variable length issue to allow seeding new servers, and clean up some other things.