When a new subsite is creating in multisite
1). The login is redirecting to mainsite dashboard.
2). It is not adding as primary site and not showing up in My Sites menu and getting an error message like "You must be a member of at least one site to use this page"
3). My Sites menu is not showing up in admin bar.