tweaks a test and devise login in dev