Fix api user data validation failure
Merge pull request #222 from greezybacon/hotfix/api

Fix api user data validation failure

Reviewed-By: Peter Rotich <peter@osticket.com>