MDL-41284 stop using log table for login weekly and monthly stats

We already have stats for each day, the SUM is what we want there...
MDL-41284 hack stats to use new log readers if available