No redirect when accessing devise API via JSON