Parametrizing quartic algebras over an arbitrary base