Fix a bug with login TTL stuff