Management APIs don't work with valid token from java code

I am going to mark this as resolved, please create a new topic if the issue persists.