A security guard sacked for dozing off while streaming sport on a night shift has won his unfair dismissal claim.