unset pi param when login is required