Append the locale parameter to all generated URLs.

This ensures that the locale is preserved even through Devise redirects. E.g. if a user goes to /read?locale=es but his browser is configured to prefer english content, he will be redirected to /login?locale=es (in spanish) instead of /login (in english).