Fix the identity on login
Fix the csrf meta tags generation