Added databaseType to getCredentials return.