One possibility is a mixed option,
with login first and continuos connection, in case of disconnect the game will continue playing but with a visible sign in the screen with the words "Internet connection lost" so ilegitimate users have to deal with the constant caption in the screen while registered users not, only in ping timeout periods.