[server][SessionManager] Fix a bug in which 'protected' has been used mistakenly.