Adds basic HTTP authentication for posts add,edit,delete