Allow configuring authentication on the class object.
Initial work on benchmarking.