If there is any account defined, select the first one in the list. Fixes #9099