Bugfix for DS-2012: commit after login to store last_active field.