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