Add Cookie based authentication
Clean up request tests