complete basic authentication