auth - create JS module to generate JWT headers and request JWT tokens