BZ-1066298: adding log for before releasing task in order to get the right user
(cherry picked from commit 820d530f6d95219a34546759f3b23605063abea3)
Test class fix (ComparePair for JAXB roundtrip comparisions)
(cherry picked from commit a73d8c6e6238db4ea4a6f2f0b1929e105fcc5051)