Output plaintext creds in a way john can use them

Also fixes a couple of ruby warnings.