session: fix argument order of crypt() and prevent segfault if /etc/config/rpcd does...