set secret_key_base by secrets.yml while testing
fix secret initialization