Fixed errors

Corrected a couple of errors that caused the template to generate
incorrect oauth provider settings.
Merge pull request #2 from spotwise/develop

Fixed errors