Added Shared.Security.WebSecurity class and unit tests