Implements Bearer token auth.