Added configuration feature to specify username and password.