Moved the base64_encode internally instead of relying on libvmod_digest.
Added some more test cases that wern't working before.