Custom deployment login and realm

Let’s continue this local development issue on the separate topic you’ve created.

Closing this topic for now, but feel free to create a new one.