Update: I figured it out. Unbelievably simple. Found the clue on the Veeam forum. In the authentication credentials, instead of using the user_name, you have to use server_name\user_name. So in my case it was truenas\phil.