Alternative $cookieStore solution