Fix login problems after loginform lost a hidden field