Testing real quantum theory in an optical quantum network