Fix on bc-authorize-redirect and add a new test app