bug #278980 by bforchhammer: improper use of Token API led to inappropriate warning messages for user and contact page tokens.