Fix #1342 by applying RequireRemoteHttps attribute to Register action

Fixes #1342