Fixed issue with DefaultSecurityManager Random Token implementation