Remove ability to set domain in the login screen.
Add login 'domain' to the config file.
Add login 'domain' to configuration
Add HTTP get that allows login details to be passed via HTTP query parameters.
Update login to pull domain from the config.