API: Reset token cache on login, so API tests work