mock test for authorize flow service

Change-Id: I9dba5e92cdfe59c31b6d3ebd7ea78cf421764f2f