setup auth adapter