[security] extend TokenFactory from GenericTokenFactory.

related to: https://github.com/Payum/Payum/pull/91