set secure_location [ad_conn location]
...to....
set secure_location $current_location
Now I just have to figure out why going to https://subsite.com/admin/ returns nothing.