Fix authenticate arguments.