Hallo {$_SERVER['PHP_AUTH_USER']}.
Set redirect target in query string, e.g. append ?http://schapiro.org to the URL.
?http://schapiro.org
Password is reversed Username