Store project id instead of project in session

Fixes cookie overflow

Fixes #50