Allow specifying the server in the config

This allows for enterprise organization to use the script.

Code courtesy of Joshua Rountree (@joshuairl)

Also cleaned up the prompt for username/password.