fix for auth adapter