Fixed issue with automapper,
implemented new FormsPrincipalProvider based on IPrincipalProvider