Refs #217 api level basic auth

added api level basic auth support back in