First part of Membership Certificate implementation.
Included redirection to HTTPS.