Added gitignore
Fixed memory leak in retrieveCredentialWithIdentifier: