Introduced decoupling among ticket interfaces and implementations

Introduced a TicketGenerator bean, in order to make the CentralAuthenticationService thinner, decouple ticket interfaces and implementations and make their extension easier.