Added method for authenticating with NNTP server.