Git commits in Moodle 3.5.6 by Ilya Tregubov

commit c91c235fb6b30d5e0c626b4e21cafb4f02a8cbbf
Author: Ilya Tregubov <ilyatregubov@catalyst-au.net>
Date:   Wed, 19 Dec 2018 10:21:04 +0800
Tag:    v3.5.6

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