A server check when you start the game is easy for a dev to add and will prove you aren't using a valid Google signature.
You can never login to Google using a modded apk, the method to do it tricks your device into thinking the apk is the same by installing under the official signature