MDL-64439 auth: Refresh $cm in require_login after pre_loginpage_hook.