Issue #3097445 by andypost, Berdir: Remove all @deprecated code in the User module except user:name token