Fix logins for unescaped passwords and use https