Ensure state token creation for login.