would be nice, if we add all other parameters that append_sid() has here aswell, so it's fully usable for extensions.
This then also covers http://tracker.phpbb.com/browse/PHPBB3-11364