Allow subclasses build a different Session Object

This would be useful to reuse this method from Rails