Continued additions of CloudIdentity unit tests

Also started initial factoring of the "AuthorizedRequest" method