Adding ThreadLocal to cache hibernate Session for a thread. Adding
RegistrationServiceTest.