Make go wrapper a variable in Makefile.

Was doing some experiment, but it failed.
Properly use ResponseRecorder in tests.
Tests and fixes for the session module.