Check for null or empty referrer before redirecting after a logout
Merge pull request #500 from aaronlerch/master

Fix for NullReferenceException if /auth/logout is entered into the browser directly