Hi there. Is it possible that you changed some code that dealt with URL paths or requests? I'm finding it hard to understand what is causing this.
Anyway, the first suggestion to help me debug this is to add the following code in the qa_insert_login_links(...) function in qa-app-format.php:
$htmlmessage.='<!-- '.$topage.' | '.$qa_root_url_relative.' | '.qa_path($topage, null, '').' -->';
Please insert it after the line:
Or if you prefer, you can possibly work around the problem by changing to a different URL scheme in the main page of the Admin options.