Fix timezone-dependent refresh token test (#1247)