do not fetch ongoing logins from the future
s/inter_n_vals/intervals/
fix unit-tests
Merge branch '5070_fix_ongoing_logins'