Fix devise flash message when signin and refuse user creation if Rails config not accepts Refs #0029417