api/auth: refactoring remove user from team function

This will help to make the add user in team action atomic.

Relates to #299.
api/actions: created AddUserToTeamInGandalfAction

Relates to #299.