Refresh login depending on token age.