Returning the account when creating it from a directory.