add cookie to login request