fix key names for auth