Fixed the client to have an optional URL. Also fixed the auth to
use it.