get tests passing for Devise 3.1

More details: http://blog.plataformatec.com.br/2013/08/devise-3-1-now-with-more-secure-defaults/