#1391 last_login saved when going through github

Fix for #1391