See:
https://coderanch.com/t/577995 #18668
Basically, if you use SSOUtils.register to create users (or some of the code samples), it doesn't update the in memory repository... probably technically a bug but there are reasons you might not want to do this...
[originally posted on jforum.net by monroe]