Locked devise to avoid problems with TokenAuthenticatable. Fixes #9.