use https
修改 write_login_token_to_cookie