For account authentication (using the default config) you need to copy the auth.php in the LoginServer folder, and ensure that localhost/auth.php is pointed to it.
It is highly recommended that you modify it so that it checks the credentials provided against the database.
To compile modules go in the module's directory and run the following command--
ant build
To use the module copy the newly created JAR into the modules folder in the respective server. You may need to change some configuration files for the module to be used.