Fix System.StackOverflowException in CreateUser