Fix the cookie not passing throught to Angular.