Add support for setting secure auth cookies