I didn't look carefully. It seems this is doing the trick: <input type="hidden" name="logintype" value="login" /> <input type="hidden" name="pid" value="" />