Disable PHP sessions in unit tests. #2294 #2507 #2441