Use getUserById to find the user when given a User object in adopt_user.
Merge pull request #170 from plone/tt-userid

Use getUserById to find the user when given a User object in adopt_user.