do not try to set credentials in henry constructor when the key property is set to non null.  add more test cases