You're association is with “Team”, which is a specialization of “User”, but you're retrieving from the “Account” entity. They are two different entities, so this won't work, even though Account is also a specialization of User.
What you can do is retrieve the current user, then do an inheritance split, and cast it as a “Team” , then your association should work.
Unrelated to your question, but I would recommend against using a “Team” as a specialization of user, unless the Team is always only one person.
Thanks a lot for your help Eline, I solved changing a bit the Domain model