Add basic_authentication method