[security] reuse league/url while generting tokens.
Merge pull request #234 from formapro-forks/use-league-url-lib-to-work-with-urls

[security] reuse league/url while generting tokens.