Code may be nil for more than one account
Fix initialization problem when using generic class for first_or_create