Removed usage of Werkzeug in email_confirmation module.

This is because of outdated version of Werkzeug on CI server.