changed mock to use generic credentials