Validate the account is a hashref if it was passed in.