Finish basic authentication