I'm getting a strange issue using the 'Reset your password' functionality in Drupal 8.
Basically, the process works fine up to the point of clicking the Login button on the screen that shows the following message:
This is a one-time login for foobar and will expire on Tue, 20/09/2016 - 15:25. Click on this button to log in to the site and change your password. This login can be used only once.
When the 'Log In' button is clicked, the user is taken to a 404 page, with a url similar to:
At that point, the user is logged in, and they can go to their 'Edit profile' page and change their password, but it's not very friendly to be presented with a 404 page after being logged in.
Any ideas why this is happening?