Replace while true with loop in username blacklist migration
Redirect legacy routes in routes.rb instead of Rack::Rewrite