[ticket/12716] Add the missing parameters in the call of clearToken

PHPBB3-12716
[ticket/12716] Add regression test

PHPBB3-12716
[ticket/12716] Use a string as session_id

PHPBB3-12716
Merge pull request #2598 from Nicofuma/ticket/12716

[ticket/12716] Add the missing parameters in the call of clearToken

* Nicofuma/ticket/12716:
  [ticket/12716] Use a string as session_id
  [ticket/12716] Add regression test
  [ticket/12716] Add the missing parameters in the call of clearToken