Fix scope setting and logout sessions for file upload.

Just a few small fixes:
* session value when logging out for simplefileupload.php and fileupload.php
* addScope() method call in simplefileupload.php
* typo in simplefileupload.php