Use model name in foreign key definitions and turn off signal handler

Custom user import causes import problems in some environments.