Fixing a bug that will allow the context processor to work correctly when the user is not actually logged in.

Changed if statement to look for is_authenticated instead of just being present.