Remove periods from error messages
/create_account: use proper HTTP status codes

Use status code 400 when there is a validation error in creating an account.