try and make devise.rb initializer less crash happy