fix to make credentials be stored in armored form.

Signed-off-by: FellowTraveler <F3llowTraveler@gmail.com>