Fix session handling; fix buggy INSERT statement in gen_mac_accept.plx; fix Rest in the Self