Implement Basic Auth.