MDL-34965 core_lib Redirect to the login page when session expires before autologin...