feat: support configuration of localStorage key and provide a setToken method