User logout on browser / tab close
You can change this setting directly in the settings.php. You've a line that looks like that : 

ini_set('session.cookie_lifetime', 2000000);

Change 2000000 to 0 and you will get what you want.