add basic auth module to make file #3244 #3288

#3244 #3288