url-encode username passed to login-uri after failure