Added current realm to jsonSession.
SystemAdminRole and doDelete added to AbstractServerTest.
Realms context tests.