Migration: handle ' in username e.g. O'Donnell when retrieving usermapping by username