Sign in to macOS with Apple ID

I used to be able to log in to my Mac Mini using my Apple ID, but after reinstalling Mojave when migrating to an SSD, I can no longer enable it.

My user was migrated from the previous HD, but this configuration seems to have disappeared.

I have a MacBook Pro with Catalina Public Beta where I can still log in with my Apple ID.

How can I re-enable this on Mac Mini?