find the uid as a "foreign key" on a record

fixes https://github.com/mozilla/fxa-auth-server/issues/773 (or not).