Issue refs #1691: remove debug code, add simple redirect to api oauth endpoint