Invalidate the session when logging out, if we recieve a GCM message after logging out then unregister the device again as the network connection may have failed previously