Bug fixed in token generation.
Typo in error message.