Fix #263 add `basic_authorize` method