The former MP has pleaded not guilty to all 18 charges he faces, including one count of rape.