Add Authentication to Realm

- Basic Authentication and Challenge-Response authentication