Add UID support to Devise.