Issue #222: Token authentication base class.