Seems like the Token is not needed when the userid/password is supplied in wget. The URL works fine for a normal URLConnection uc = url.openConnection(); with the Basic authentication. The simple invoking of the URL seems to be the issue.
[Message sent by forum member 'alexj' (alexj)]
http://forums.java.net/jive/thread.jspa?messageID=275761