Fix #1342 by applying RequireRemoteHttps attribute to Register action