Move OpenID certificate file to a configuration variable

This also fixes some indentation and syntax issues.