Invalid credentials: Save credentials to sample.dat