creds pointer needs to be set to NULL after freeing in krb5_rd_cred_basic()