[8.0] migrate account_cutoff_prepaid

Most work was done by @alexis-via on launchpad. I just extracted the 8.0 part and brought it here.