The Basic Authentication Scheme is described in the RFC7617 (and the old RFC2617).
This is a standard way to send password credentials to the server.
The base64 encoding is used to encode credentials to allow non HTTP characters and multibytes strings to be sent.