Add lastlogin to auth file

Fixed a bug in auth.lua (last_login not being a number) and few problems in chat command. Parent PR: #1745
@ShadowNinja did not explain why `last_login` and not `lastlogin`.
Anyway, this is only a minor issue.