Lars,
Of all places: calendar_create hard codes:
calendar_create
package_id
[ad_conn "package_id"]
creation_ip
[ad_conn "peeraddr"]
creation_user
[ad_conn "user_id"]
Also, adjust_calendar_list gets user_id and package_id, but you can pass in those parameters, so it works.
adjust_calendar_list
user_id