User profile: fixed 403 error when saving

The URL endpoint override wasn't working, and it was hitting the users
admin endpoint, resulting in a forbidden action for regular users.

Fixes #3425.