Fix controller tests broken by b0872ff.

Secret key should be configured before running controller tests.