Ubiquiti let users disable the cloud logins with UDM Pro, after a pretty big backlash on their forums.
You do need a Ubiquiti account to setup the hardware in the first place, but you can turn off cloud access and login locally after that. And you should.