fixed a missing a parameter from user_has_cap()'s signature

this caused incorrect user cap behavior, when a freebie user tried to read reports

related to https://github.com/GigaOM/legacy-pro/issues/4125