Authentication server for remote lock