It's difficult to say without the exact context; but both seem possible:
1. Login credential retrieval
— here, your name and password are treated separately. Each constitutes a "login credential". The process therefore consists of two acts of retrieval.
2. Login credentials retrieval
— here, your name and password are treated together. Together, they constitute your "login credentials". The process therefore consists of one act of retrieval.