Profile form: Fix routes and json keys in profile.js and current_user.py.