check @context.secure_with_ssl on logon for heroku/s3/ckeditor