Have registeruser.php redirect in a less hard-coded way using app-values from multiinstance.