GTNPORTAL-3243: Fix exception handling in PicketLinkIDMOrganizationServi...

...ceImpl flush and endRequest