Fix code formatting issues; emit service password as a hex string so that it can be included in URLs easily
Formatting fix.