Fixed user create & login examples.
Merge pull request #3919 from arthurevans/tidoc-1007

Fixed user create & login examples.