Well, the login now works as it should but on iOS and in Browser the session is not being maintained.
Once you go to a new page the identity session/cookie is cleared.
Again, this is only in browser preview and on iOS emulator. Android emulator is working fine.