Fix login issue caused by duplicated constant name.