changed the method for finding the userid while contacting keystone with curl