titleize token-based-authentication