Created the hash for password, can successfully send to tomcat