Fixing a failing test

An auth test is failing if it is run before the cookiestore get set to the cookie manager.