Revert "Fix tests."

This reverts commit 755ba96bfe0f8883eb41655f7effe67961e64fb9.
Force SSL only in production.