Fixed REST API-related error with user editing.

refs #1933

Fixed an admin interface error that sprung up in relation to REST
API key management.