Setting password when logging into server

This is a little snippet of code added to allow users to use passwords when logging in. It seems that while this is referenced in the configuration file it is not used in the code.