fix(tests): persistent login tests are no longer fragile

The persistent login component unit tests were failing when run close to
the border between seconds on the clock because ElggCookie has a dependency
on time(). I replaced the equivalency test with a looser test to recognize
a time in the past.

Fixes #6829