changes devise settings to allow token authentication