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

fixes https://github.com/mozilla/fxa-auth-server/issues/773 (or not).
Sorry, would have been me when doing the new repo.