Fix for bad credentials