move session init into utils, re-fetch session after login
-rw-r--r-- 2932 authorize.php
-rw-r--r-- 729 authsystem.css
-rw-r--r-- 2584 authsystem.inc.php
-rw-r--r-- 422 authsystem.js
-rwxr-xr-x 9526 authutils.php-class
-rw-r--r-- 25047 index.php
-rw-r--r-- 699 resource.php
-rw-r--r-- 1169 server.inc.php
-rw-r--r-- 707 token.php