handle basic http Athentication