Add `data-api-path` attributes to login/register buttons.

It allows these buttons to be marked as 'active' by the navbar's script.