Basic Auth Header Generator

Generates an HTTP Basic Authentication header from a username and password by base64-encoding the credentials, ready to paste into API clients or curl commands.