MDL-41223 do not store any form of login URL in $SESSION->wantsurl

Credit goes to Michael Milette, thanks.