Allow fallback to LegacyKeyGenerator when secret_key_base is not set

Let devs upgrading from older Rails take advantage of the LegacyKeyGenerator without needing a monkeypatch
to use a blank secret_key_base