Set default secret_key before eager load