we must use operator === when comparing token strings
because of the following php magic:

$ php -r "var_dump('0e12345678909876543212345678901' == '0');"
bool(true)