remove AuthPlugin usage from Preferences class