fixes to webapp_token_access.inc

mostly due to extPlorer PHPMyAdmin incompatibility issues. The inc file was
closing the session due to PHPMyAdmin wanting the session closed, and
extPlorer was assuming that the session was already open.