allow custom url on token

Signed-off-by: Victor Vieux <vieux@docker.com>