PUT /account/:id/session/:session and unit tests