Fixed bug in Default domain needed for Devise authentication