Fix bug with null ID being inserted on user signup.