Change the current user’s password.
Verifies the current password, updates to the new password, clears the password_change_required flag, and returns a fresh JWT.
Args: request: Change password request with current and new passwords response: FastAPI response object to set cookies claims: JWT claims from middleware user_manager: FastAPI Users user manager session: Database session
Returns: JWT token response with access_token and token_type
Raises: UnauthenticatedException: If current password is invalid BadRequestException: If new password is same as current or invalid