Danish Nemid implementation for devise authentication.