Amazon has been facing increasing criticism over allegations that a security firm it hired for the holiday season mistreated its temporary workers.