Stuck on Approve Login page

I signed up for 30 days trial for FreeAgent. I am trying to fetch some data
using OAuth and your APIs but when I reach on the login/approve page and
put my credentials I am redirected to FreeAgent homepage.