Fix secure token problem