Internalize basic-auth template