shadow: Fix lastlog and faillog to find logs in /var/log

Fixes #2575 and closes #2586.