Add basic_authentication method
Merge pull request #7 from abotalov/basic_authentication

Add basic_authentication method