auth4: make auth_check_password_wrapper() static