Improvements and bugfixes in setup script. Symmetric encryption key must be base64-encoded.