Fix usage of User.find_by_uid

the `find_by_*` methods are an ActiveRecord thing, and Mongoid doesn't
implement these.  This was only working because earlier versions of
gds-sso added a `find_by_uid` method to the User model.