Fixed core.test_password_reset with i18n_patterns.
Fixed pages.test_login_required with I18N / LocaleMiddleware.