Be more liberal with username input. Which also fixes compatibility with Ruby 2.0
Check Ruby 2.0 on Travis