Test credential save