Update auth.rst

Considering this is a tutorial I added the use Cake\Event\Event; statement as you get errors when trying to use beforeFilter without it. While reading these docs should familiarize themselves with namespaces it might be a good idea to include the code needed to complete the tutorial.