Add enable/disable flag of basic authentication