Using `log` package instead of `fmt`

...it's made for logging.
Bugfix: Handle keyId:s containing `groupSep`

This was solved by Base64 encoding the byte slice.
Making sure developers don't set bad groupKeys