When adding next param to login URL don't store that part in the global _LOGIN_URL variable.
Version bump to 5.1.4.login_patch.