Fix #1238: AgaviWebRouting::gen(null) returns url without sid even if use_trans_sid is true