Implemented credentials provider cache generator.