fix error redirect after login on apply job page