Fix bugs in account creation code