Fix SessionsController bug to pass institute can test.