Numerical methods for Fredholm integral equations with singular right-hand sides