Adds redirects for login pages and the registration page

This prevents accidental registration and unnecessary account creation when SSL authentication is turned on in the platform that may occur when a user goes to a protected page, or directly to one of the signup/registration/login pages.

@sarina @ichuang @jbau