@jonny pixelfed already has a feature to login with mastodon. You could set that up to only allow a single instance on an allow list being the one on the same server