Changed in getToken function.Updated the variable keystone url to keystoneurl+"/tokens"