reaplace all secirityToken instances. Fixes #1