Send appropriate header for authentication
Move token passing from parameter to header