Helper to store testing credentials safely