Token tests depend on a logged in user

Change-Id: I04e9da1ea5732ebd6fe0019016ba581e702037a5