Fix specs with devise 3.4

This fixes the issue kindly made public in https://github.com/baschtl/devise-token_authenticatable/pull/8 by @keichan34.