Fix subject name parsing.

Try to find name, if not presented use literal value.
Add sessions resource with sessions for last 12h.