Fix argument count for auth hook