Fixed bug and added project.properties in server

Fix bug in retrieve password caused by the password encryption.
And added the project properties file to make the server work.