Added method to retrieve base64 encoded authorization header.