Handling find credential by name and login