Provider and uid should not be NULL, just empty