I can think of one reason why SSH is failing. Due to firewalld.
Since FreedomBox images are not available yet for Raspberry Pi 4, you must have started with something like Raspbian and done ‘apt install freedombox’. The network interfaces in this case probably preconfigured in /etc/network/interfaces. Interfaces configured this way are left along and not taken over by FreedomBox (behavior of network-manager). So, no firewall zone might be assigned to it and after a reboot, you are unable to connect. By default all the interfaces are supposed to be placed in ‘external’ zone by firewalld and perhaps this did not work.
Try doing this: before you reboot, configure a network connect from FreedomBox interface or ‘nmtui’ command. Assign firewall zone to be ‘internal’ or ‘external’. Then remove the configuration in /etc/network/interface.
Note that only users who are part of ‘admin’ group can login via SSH after the freedombox is installed.
I don’t know why you are getting a CSRF problem with Tor. Also try SSH over Tor, it is likely to work. We can debug the CSRF problem if access otherways work.