Basic authentication plugin

Plugin used for authenticating with JSON REST API.