TRQ-2885 - limit tm_adopt() to only adopt a session id that
is owned by the calling user.