yotam: fix bug in checking tokens for user profiles.