Added cleanup of a task store on login (OMS-412)