Adds basic authentication on request