Bugfix for DS-2012: commit after login to store last_active field.
Merge pull request #553 from tuub/DS-2012

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