modify token url logic
Merge pull request #82 from esoekianto/modify-token-url-logic

Java: modify token url logic