Add support for secure access to all APIs