Fix trailing slash bug.

A urljoin on an auth endpoint without a trailing slash would result in the version being truncated.