Implemented the security token comparison.