authenticate using basic http authenticaion built into rails