fix teacher dashboard ui test by setting the cookie as a top level domai...

...n cookie