Apply authorization in header

This is to simulate an actual request with authentication.