src/login.c: Include compat-5.2