[server] pubkey auth for only registration