make login/logout work with a script_root