[BZ-1157710] - Allow the configuration of Signature and Encryption on IDP and SP.
Fixing wrong order of handlers.
Merge pull request #6884 from pedroigor/master

[WFLY-3978] - PicketLink EAP 6.4 Issues