NO MERGE: Add stats to track auth duration.

This is for testing only, don't merge it onto master.