Fix RBNicknameAuth in production when it gets wrapped in a function