cPanel internal case #33154
We found that, if the login redirect page is accessed from a bookmark, $secretkey was not defined, and $login_username was not set to a helpful value, so logging in wouldn't work. This patch checks for these conditions (independently) and updates these variables with REMOTE_PASSWORD and REMOTE_USER environment variables, respectively, as appropriate. (Patch attached.)