Fix #546 wrong provider credentials

This PR fixes #546