Added some basic form of cookie based auth to wcf

Added some basic form of cookie based auth to wcf
Probably the most unsecured code ever