Updated password generation, server now generates hashed tokens when logging in