I have the same lighting problem as well as performance issues with masked materials.
The developer said he fixed foliage lighting before 5.0 released but it was causing other weird behaviors so he reverted the change for the official release. It might be in 5.1, we just have to wait unfortunately.