Support HTTP basic access authentication

support baisc authentication.