Fix spec test for devise integration

- Fix spec test for devise integration.