added setter for type safety in SessionBasedLocaleProvider
added SessionBasedLocaleProviderTest