UK man accused of hacking Pentagon appears in court