Allow setting an account identifier after initialization

Previously, setting the account identifier was only allowed during
initialization.  This commit allows the account identifier to be set
after initialization, provided that the account is invalid.