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.
Merge pull request #1495 from rightnowweb/patch-5

Update auth.rst