Update IntegrityCheckinTask.java

[JENKINS-21151]
[JENKINS-21152]
Ensured that all files checked in get unlock afterwards
Modified checkin Task to use APISession.create to get the APISession