Adjust authorize endpoint