Return HTTP status 400 when trying to register an account that already exists

LMS-2203