then you need just create simple SQL query and run it to your auth database for both cores/versions
I think that possible to do with rename one of auth databases to auth4 and auth3 set them in configs right
Then how i told when you register in website just insert two SQL queries into both datbases and you will have same account on your both servers/realms idk what you doing there