Add missing status codes and rename enum members to PascalCase

Change-Id: Iab2893d75ac7cb797364a7a2e33a7140cc9d97db
diff --git a/client/src/utils/auth.ts b/client/src/utils/auth.ts
index 470486f..8d4d863 100644
--- a/client/src/utils/auth.ts
+++ b/client/src/utils/auth.ts
@@ -16,10 +16,9 @@
  * <https://www.gnu.org/licenses/>.
  */
 import { passwordStrength } from 'check-password-strength';
-import { LookupResolveValue } from 'jami-web-common';
+import { HttpStatusCode, LookupResolveValue } from 'jami-web-common';
 
 import { PasswordStrength } from '../enums/password-strength';
-import { StatusCode } from '../enums/status-code';
 
 interface PasswordStrengthResult {
   id: number;
@@ -39,7 +38,7 @@
 export async function isNameRegistered(name: string): Promise<boolean> {
   try {
     const response: Response = await fetch(`api/ns/name/${name}`);
-    if (response.status === StatusCode.Ok) {
+    if (response.status === HttpStatusCode.Ok) {
       const data: LookupResolveValue = await response.json();
       return data.name === name;
     }