Fixed up some account creation bugs.