Update context_processors.py

Fixes issue with other modules where a request without a user might exist and cause that module to fail.
Merge pull request #641 from pbrooks/patch-1

Update context_processors.py