use keystone endpoint when api url is not input

Change-Id: I755460eba88101fd5644e5703871d5189ca80367