Fixed credentials validation methods
Checking for nil in @experiment.shared_with