fix oauth authentication removing the /oauth/ url switch