Auth hotfix

If no token was present in a request, the NoneType error happened.

Change-Id: Ie14a554f5ea367ecaf08fdde0faa8703e4a86d0b