Fixed errors

Corrected a couple of errors that caused the template to generate
incorrect oauth provider settings.