XWiki-6882:Improvement on user changing password. Remove useless declaration