Fixed auth schema creation against race conditions.