Harmonizes user object to passport api