Found two small errors in Glance config template

In prior refactoring, there was a couple typos in the template
variable substitutions. This resulted in Glance API being unable
to start due to a blank string being supplied where an integer
was expected.