Honor secure cookie setting in BB plugin.