Get user_model id parameter from configuration

The password reset controller was previously assuming that the id
parameter would be available as 'user_id', but if you have customized
the user model this won't be the case. Get the proper name from the
configuration.

Supersedes #377