core: fix problem where mod_signed_url could not keep the user logged on.