Add unit test that generate base64 auth