SessionEvent was passing principal realm rather than current realm for current realm field.