Use HTTPS for the login page

The script fails to run, unless using HTTPS for the login page.