Use core to generate password and drop dependency on commons-codec

commons-codec is used to encode the generated user password to
base64, but instead we can just reuse the generate() method
provided by the core API.

Change-Id: I5fd90febb6e492fe5708c1855359556baac73149
1 file changed