Using sqlite as dict for last_auth plugin