fix login redirect with query portion (i.e. cust_main.cgi?1) and on errors, RT#21563