Updated client-side of auth code to new system, mostly done

Still need to make server prove its identity to client
Going to have to split auth and session into two diff connection sessions.