base 64 encoding of api key added in swagger js erb