Assert that user is logged in when saving

Only if the user was logged in in the first place. This prevents
saving translations as an anonymous user accidentally. It is also
needed in follow up to reliable detect session expiration.

Bug: 69314
Change-Id: Idf306aafebf045b250e468bb053af9b05562ad79
Merge "Assert that user is logged in when saving"