Fix test environment for Devise