DDBEXTRA-172: deprecated method to get credentials removed and rest of
the code adapted