Patched error creating user account OOIION-1355

@jamie-cyber1 Please review and merge