The Department for Work and Pensions (DWP) has confirmed it was targeted by a cyber attack which was detected on Thursday night, leading to portals being taken offline