added cookies lib and some auth tests