[client] ensure to set HMAC mode by default only when an HMAC key is used
[test suite] add client rc file processing tests (digest only for now, more coming)