Fix small issues found with go vet.

As a side note, it would be helpful to have a template for secrets.json.